<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
</head>
<body>
<h1>游戏列表</h1>
<form action="${pageContext.request.contextPath}/gamesManager/list" method="get">
	<table>
		<tr>
			<th>游戏名称</th><th>游戏类别</th><th>发行公司</th><th>发行年份</th>
		</tr>
		<c:forEach var="games" items="${list}">
		<tr>
			<td>${games.gameName }</td>
			<td>${games.gameType }</td>
			<td>${games.gameCompany }</td>
			<td>${games.gameYear }</td>
		</tr>
		</c:forEach>
	</table>
</form>
</body>
</html>